<?php
/**
 * Joomla! 1.5 component JoomGPSTracks
 *
 * @version $Id: default.php 2009-06-24 15:40:19 svn $
 * @author Michael Pfister
 * @package joomGPStracks
 * @subpackage backend
 * @license GNU/GPL
 * @filesource
 *
 */

defined('_JEXEC') or die('Restricted access');

JToolBarHelper::title(JText::_('JoomGPSTracks'), 'generic.png');

if(!$this->cfg->apikey)  {
    ?>
    <div style="color:red; font-size:1.2em; font-weight:bold;" align="center"><?php echo JText::_('GPS_NO_APIKEY'); ?></div>
    <?php
} else {
    echo $this->gps->writeMap();
?>
    <div style="margin: auto">
<div id="map" style="width: 500px; height: 350px; float:left" ></div>
<div style="float:left; margin-left:30px">
    <table border="0" align="center" width="500px" cellspacing="2" cellpadding="2">
        <tbody>
            <tr>
                <td><img src="../components/com_joomgpstracks/assets/images/gps-logo.jpg" width="200" height="200" alt="gps-logo"/>
                </td>
                <td>The right extension for Joomla to show GPS tracks to your visitors. Please take care to have allmost the latest Version installed.</td>
            </tr>
            <tr>
                <td>Autor</td>
                <td>Michael Pfister</td>
            </tr
            <tr>
                <td>Website</td>
                <td><a href="http://joomgpstracks.mp-development.de" target="_blank">http://joomgpstracks.mp-development.de</a></td>
            </tr>
            <tr>
                <td>Support Forum</td>
                <td><a href="http://joomgpstracks.mp-development.de/joomgpstracks-support-forum" target="_blank">http://joomgpstracks.mp-development.de/joomgpstracks-support-forum</a></td>
            </tr>
            <tr>
                <td>License</td>
                <td><a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">GNU/GPL2</a></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7035629">
<input type="image" src="https://www.paypal.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>

</td>
            </tr>
        </tbody>
    </table>

</div>
<div style="clear:both"></div>
    </div>
<?php
}

?>
